<div>
  <h2>点击上传</h2>
  <el-upload class="dome-class" action="/api/upload" multiple="true" show-file-list="true" auto-upload="false" accept="image/*"
    data="{userId: 123}" headers="{Authorization: 'Bearer xxx'}" on-success="handleSuccess(res, file)"
    on-error="handleError(err, file)" on-remove="handleRemove(file)" on-change="handleChange(files)">
    <div class="el-upload__tip">只能上传jpg/png文件，且不超过500kb</div>
  </el-upload>
</div>